Skip to content

test: share Stovepipe MySQL integration stack#433

Merged
sbalabanov merged 1 commit into
mainfrom
fix/stovepipe-storage-shared-stack
Jul 23, 2026
Merged

test: share Stovepipe MySQL integration stack#433
sbalabanov merged 1 commit into
mainfrom
fix/stovepipe-storage-shared-stack

Conversation

@sbalabanov

Copy link
Copy Markdown
Contributor

Why?

The Stovepipe MySQL storage integration target started and destroyed three separate Compose stacks for the RequestStore, QueueStore, and BuildStore suites. Container startup and MySQL initialization dominated the target runtime.

What?

  • Start one MySQL Compose stack and apply the storage schema once for the target.
  • Run the existing RequestStore, QueueStore, and BuildStore contract suites serially against the shared storage instance.
  • Truncate every storage table before each suite so fixed test identifiers and persisted state remain isolated.

Uncached Bazel test-attempt runtime across three runs improved from 45.273s / 40.420s / 40.358s (42.017s average) to 14.111s / 14.044s / 14.056s (14.070s average), a 66.5% reduction.

Test Plan

  • ./tool/bazel test //test/integration/stovepipe/extension/storage/mysql:go_default_test --nocache_test_results (three post-change runs)
  • make fmt
  • make lint
  • make check-tidy
  • make check-gazelle

Issue

N/A

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@sbalabanov
sbalabanov marked this pull request as ready for review July 23, 2026 00:58
@sbalabanov
sbalabanov requested review from a team and behinddwalls as code owners July 23, 2026 00:58
@sbalabanov
sbalabanov added this pull request to the merge queue Jul 23, 2026
Merged via the queue into main with commit 0db5750 Jul 23, 2026
26 of 27 checks passed
@behinddwalls
behinddwalls deleted the fix/stovepipe-storage-shared-stack branch July 23, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants